<?php
	header("Content-type: text/html;charset=UTF-8");
	$kw=$_REQUEST['kw'];
	$db=['ada','actionscript','basic','c++','c#','delphi','elle','formula','go','html','java','javascript','lua','lamda','nodejs','objective-c','pascal','visual-basic','sql'];
	foreach($db as $lang){
		//$lang是否有$kw——字符串中是否有特定的子串 
		//php: strpos 作用相当于 js:indexOf
		if( strpos($lang, $kw)!==FALSE ){
			echo "<li>$lang</li>";
		}
	}
?>